<!--{include file=acl/submenu}-->

<style type="text/css">
    html { _overflow-y:scroll; }
</style>

<form name="resource" id="resource" action="{$base_url}user/acl/group_add/id/{$result.id}" method="post">
<div class="pad-lr-10">
<div class="col-tab">

<ul class="tabBut cu-li">
    <li id="tab_setting_1" class="on" onclick="SwapTab('setting','on','',1,1);">基本选项</li>
</ul>
<div id="div_setting_1" class="contentList pad-10">

<table width="100%" class="table_form">
      <tr>
        <th width="80">上层群组：</th>
        <td>
        {$html_groups}
        </td>
      </tr>

      <tr>
        <th width="80">群组名称：</th>
        <td><input type="text" name="title" id="title" size="26" class="input-text" value="{$result.title}"></td>
      </tr>

        <tr>
        <th>群组描述：</th>
        <td><input type="text" name="description" id="description" size="26" class="input-text" value="{$result.description}"></td>
      </tr>

</table>
</div>

<div class="bk15"></div>
<input name="id" type="hidden" value="{$result.id}">
<input name="dosubmit" type="submit" value="提交" class="button">

</form>

</div>

</div>
<!--table_form_off-->
</div>

<script type="text/javascript">
<!--
jQuery(function()
{
    jQuery.formValidator.initConfig({formid:"resource",autotip:true,onerror:function(msg,obj){window.top.art.dialog({content:msg,lock:true,width:'200',height:'50'}, function(){this.close();$(obj).focus();})}});
    
    jQuery("#title")
    .formValidator({ onshow:"请输入组名称", onfocus:"请输入组名称",oncorrect:"正确"})
    .inputValidator({min:1,onerror:"请输入组名称"});

    jQuery("#description")
    .formValidator({ onshow:"请输入组描述", onfocus:"请输入组描述",oncorrect:"正确"})
    .inputValidator({min:1,onerror:"请输入角色描述"});
});
//-->
</script>

<script type="text/javascript" src="{$asset_url}js/jquery.formvalidator.js"></script>
<script type="text/javascript" src="{$asset_url}js/jquery.formvalidatorregex.js"></script>

